package com.spiro.gis.tiledownload;

/**
 * @Author: Shaoping Huang
 * @Description:
 * @Date: 1/14/2018
 */
public class TileCoordinate {

    private final int z;
    private final int x;
    private final int y;

    public TileCoordinate(int z, int x, int y) {
        this.z = z;
        this.x = x;
        this.y = y;
    }

    public int getZ() {
        return z;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    @Override
    public String toString() {
        return "{" +
                "z:" + z +
                ", x:" + x +
                ", y:" + y +
                '}';
    }
}
